# coding: utf-8


# MONGO_HOST = '127.0.0.1'
MONGO_HOST = '182.254.159.159'
MONGO_PORT = 10011
MONGO_DB_NAME = 'test'
MONGO_DB_USERNAME = 'mongouser'
MONGO_DB_PWD = 'huayuan@888'

# REDIS_IP = '127.0.0.1'
# REDIS_PORT = 6379
# REDIS_PASS = ''

REDIS_IP = '182.254.159.159'
REDIS_PORT = 10010
REDIS_PASS = 'huayuan@888'

OCEAN_IP = '192.168.0.12'
OCEAN_PORT = 8178

MYSQL_HOST = '10.200.187.131'
MYSQL_PORT = 3306
MYSQL_USER = 'root'
MYSQL_DB = 'survey_custom'
MYSQL_PASS = 'huayuanmy_huamysql'

COMBINE_HOSTNAME = 'fra.fraplus.cn'
COMBINE_STAT = 'dist1.2*v2'  # 'newtest*v2' #'dist*v2' #'dist1.2*v2'
COMBINE_NOWXSTAT = 'v2/dist1.2'  # 'v2/newtest' #'v2/dist1.2'
COMBINE_NOWXLONGURL = 'http://{$hostname$}/page/{$nowxstat$}?channel={$code$}_channel&openid=null&fromid=null&code={$code$}&stat=survey&title={$url_title$}'
COMBINE_LONGURL = 'http://{$hostname$}/login/wxLogin?channel={$code$}_channel&openid=null&fromid=null&code={$code$}&stat={$stat$}&title={$url_title$}'
COMBINE_SHORTURL = 'http://{$hostname$}/route/{$code$}'
COMBINE_NOWXSHORTURL = 'http://{$hostname$}/route/{$code$}_nowx'

LOG_SERVER_IP = '118.89.151.16'
LOG_SERVER_PORT = 8086
LOG_SERVER_USER = 'influxuser'
LOG_SERVER_PWD = 'huayuan@888'
